/**
 * Code editor syntax token theme.
 * Light mode: Vibrant colors matching dark mode's aesthetic quality.
 * Dark mode: VSCode Dark+ inspired colors with deep, vibrant palette.
 * Applied to elements with .code-editor-theme class.
 */

/**
 * Light mode token colors (default) - vibrant palette
 */
.code-editor-theme .token.comment,
.code-editor-theme .token.block-comment,
.code-editor-theme .token.prolog,
.code-editor-theme .token.doctype,
.code-editor-theme .token.cdata {
  color: #2e7d32 !important;
}

.code-editor-theme .token.punctuation {
  color: #383838 !important;
}

.code-editor-theme .token.property,
.code-editor-theme .token.attr-name,
.code-editor-theme .token.variable {
  color: #0891b2 !important;
}

.code-editor-theme .token.tag,
.code-editor-theme .token.boolean,
.code-editor-theme .token.number,
.code-editor-theme .token.constant {
  color: #b45309 !important;
}

.code-editor-theme .token.string,
.code-editor-theme .token.char,
.code-editor-theme .token.builtin,
.code-editor-theme .token.inserted {
  color: #dc2626 !important;
}

.code-editor-theme .token.operator,
.code-editor-theme .token.entity,
.code-editor-theme .token.url {
  color: #383838 !important;
}

.code-editor-theme .token.atrule,
.code-editor-theme .token.attr-value,
.code-editor-theme .token.keyword {
  color: #9333ea !important;
}

.code-editor-theme .token.function,
.code-editor-theme .token.class-name {
  color: #ca8a04 !important;
}

.code-editor-theme .token.regex,
.code-editor-theme .token.important {
  color: #e11d48 !important;
}

.code-editor-theme .token.symbol {
  color: #383838 !important;
}

.code-editor-theme .token.deleted {
  color: #dc2626 !important;
}

/* Blue accents for <var> and {{ENV}} placeholders - light mode */
.code-editor-theme .text-blue-500 {
  color: #1d4ed8 !important;
}

/**
 * Dark mode token colors
 */
.dark .code-editor-theme .token.comment,
.dark .code-editor-theme .token.block-comment,
.dark .code-editor-theme .token.prolog,
.dark .code-editor-theme .token.doctype,
.dark .code-editor-theme .token.cdata {
  color: #8bc985 !important;
}

.dark .code-editor-theme .token.punctuation {
  color: #eeeeee !important;
}

.dark .code-editor-theme .token.property,
.dark .code-editor-theme .token.attr-name,
.dark .code-editor-theme .token.variable {
  color: #5fc9cb !important;
}

.dark .code-editor-theme .token.tag,
.dark .code-editor-theme .token.boolean,
.dark .code-editor-theme .token.number,
.dark .code-editor-theme .token.constant {
  color: #ffc857 !important;
}

.dark .code-editor-theme .token.string,
.dark .code-editor-theme .token.char,
.dark .code-editor-theme .token.builtin,
.dark .code-editor-theme .token.inserted {
  color: #ff6b6b !important;
}

.dark .code-editor-theme .token.operator,
.dark .code-editor-theme .token.entity,
.dark .code-editor-theme .token.url {
  color: #eeeeee !important;
}

.dark .code-editor-theme .token.atrule,
.dark .code-editor-theme .token.attr-value,
.dark .code-editor-theme .token.keyword {
  color: #d896d8 !important;
}

.dark .code-editor-theme .token.function,
.dark .code-editor-theme .token.class-name {
  color: #ffc857 !important;
}

.dark .code-editor-theme .token.regex,
.dark .code-editor-theme .token.important {
  color: #ff6b6b !important;
}

.dark .code-editor-theme .token.symbol {
  color: #eeeeee !important;
}

.dark .code-editor-theme .token.deleted {
  color: #ff6b6b !important;
}

/* Blue accents for <var> and {{ENV}} placeholders - dark mode */
.dark .code-editor-theme .text-blue-500 {
  color: #35b6ff !important;
}

/* Ensure transparent backgrounds */
.code-editor-theme .token {
  background: transparent !important;
}
